home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwlt21.dir / 00027_Script_27 < prev    next >
Text File  |  1994-11-15  |  5KB  |  208 lines

  1. on startMovie
  2.   global inFrame, nowFrame, currMM
  3.   global dialogOn, nextLT, prevLT
  4.   cursor 4
  5.   set the preLoadRAM to 420
  6.   set prevLT = "FLWLT20"
  7.   set nextLT = "FLWLT22"
  8.   set dialogOn = FALSE
  9.   set currMM = "FLWMM"
  10.   set nowFrame = "ltfin945000°°°"
  11.   set inFrame = ""
  12.   puppetsprite 9, TRUE
  13.   puppetSprite 11, TRUE
  14.   puppetSprite 12, TRUE
  15.   set the immediate of sprite 11 to TRUE
  16.   set the immediate of sprite 12 to TRUE
  17.   puppetSprite 20, TRUE
  18.   puppetSprite 21, TRUE
  19.   puppetSprite 22, TRUE
  20.   puppetSprite 23, TRUE
  21.   set the immediate of sprite 20 to TRUE
  22.   set the immediate of sprite 23 to TRUE
  23. end startMovie
  24.  
  25. on stepMovie
  26.   global nowFrame,currFrame
  27.   if nowFrame <> currFrame then
  28.     seeAlsoList
  29.     set currFrame = nowFrame
  30.   end if
  31. end stepMovie
  32.  
  33. on stopMovie
  34.   put " " into field "seeAlsoText"
  35.   set the castNum of sprite 21 to 1050
  36.   puppetSprite 21, FALSE
  37.   updateStage
  38. end stopMovie
  39.  
  40. on saveLocals
  41.   global lastFrame, nowFrame, lastMovie, origLocH
  42.   set lastMovie = the movie
  43.   set lastFrame = nowFrame
  44. end saveLocals
  45.  
  46. on ltForStep
  47.   global inFrame, nextLT, ltQT
  48.   puppetSprite 4, FALSE
  49.   set ltQT = FALSE
  50.   set inFrame = ""
  51.   if the frame = 13 then
  52.     go to frame "ltfin948001°°°" of movie nextLT
  53.   else
  54.     go to marker (+1)
  55.     updateStage
  56.   end if
  57. end ltForStep
  58.  
  59. on ltBackStep
  60.   global inFrame, prevLT, ltQT
  61.   puppetSprite 4, FALSE
  62.   set ltQT = FALSE
  63.   set inFrame = ""
  64.   if the frame < 5 then
  65.     
  66.     go to frame "ltuso942004°°°" of movie prevLT
  67.   else
  68.     go to marker (-1)
  69.     updateStage
  70.   end if
  71. end ltBackStep
  72.  
  73. on checkNav
  74.   if rollover(12) then
  75.     set the castNum of sprite 12 to the number of cast "leftUp"
  76.   else
  77.     set the castNum of sprite 12 to the number of cast "leftRt"
  78.   end if
  79.   
  80.   if rollover(11) then
  81.     set the castNum of sprite 11 to the number of cast "rightUp"
  82.   else
  83.     set the castNum of sprite 11 to the number of cast "rightRt"
  84.   end if
  85.   updateStage
  86.   cursor -1
  87. end checkNav
  88.  
  89. on buttonState
  90.   global FrankNav, bflag, nowFrame, noTx, dialogOn
  91.   
  92.   if dialogOn = FALSE then
  93.     
  94.     --sticking local call here for convenience
  95.     worldLite
  96.     if the mouseV > 200 or bFlag = TRUE then
  97.       set bFlag = FALSE
  98.       doState
  99.     end if
  100.   end if
  101. end buttonState
  102.  
  103. on scrollRight
  104.   if the clickon = 11 then
  105.     sound stop 1
  106.     startTimer
  107.     repeat while the timer < 2
  108.       set the castNum of sprite 11 to the number of cast "rightDn"
  109.       updateStage
  110.     end repeat
  111.     timeRight
  112.     flush
  113.   end if   
  114. end scrollRight
  115.  
  116. on scrollLeft
  117.   if the clickon = 12 then
  118.     sound stop 1
  119.     startTimer
  120.     repeat while the timer < 2
  121.       set the castNum of sprite 12 to the number of cast "leftDn"
  122.       updateStage
  123.     end repeat
  124.     timeLeft
  125.     flush
  126.   end if  
  127. end scrollLeft
  128.  
  129. on timeLeft
  130.   global prevLt
  131.   puppetSprite 4, FALSE
  132.   
  133.   go to movie prevLT
  134. end timeLeft
  135.  
  136. on timeRight
  137.   global nextLt
  138.   puppetSprite 4, FALSE
  139.   
  140.   go to movie nextLT
  141. end timeRight
  142.  
  143. on worldLite
  144.   global currWorld, realWorld
  145.   if rollover(9) then
  146.     set the castNum of sprite 9 to 26
  147.   else
  148.     set the castNum of sprite 9 to 2
  149.   end if
  150. end worldLite
  151.  
  152. on jumpVLB21
  153.   sound stop 1
  154.   if the clickOn < 7 or the clickOn > 23 then
  155.     if the mouseH > 168 and the mouseH < 279 and the mouseV > 103 and the mouseV < 206 then
  156.       puppetSprite 4, FALSE
  157.       go to frame "ltfin945001°°°"
  158.     else if the mouseH > 280 and the mouseH < 390 and the mouseV > 152 and the mouseV < 225 then
  159.       puppetSprite 4, FALSE
  160.       go to frame "ltfin945002°°°"
  161.       --      set the volume of sprite 15 to 255
  162.     else if the mouseH > 391 and the mouseH < 474 and the mouseV > 75 and the mouseV < 194 then
  163.       puppetSprite 4, FALSE
  164.       go to frame "ltfin945003°°°"
  165.     else if the mouseH > 477 and the mouseH < 588 and the mouseV > 142 and the mouseV < 225 then
  166.       puppetSprite 4, FALSE
  167.       go to frame "ltfin945004°°°"
  168.     else if the mouseH > 503 and the mouseH < 618 and the mouseV > 75 and the mouseV < 141 then
  169.       puppetSprite 4, FALSE
  170.       go to frame "ltfin945005°°°"
  171.     else 
  172.       nothing
  173.     end if
  174.   end if
  175.   flush
  176. end jumpVLB21
  177.  
  178. on rollVLB21
  179.   if the mouseH > 168 and the mouseH < 279 and the mouseV > 103 and the mouseV < 206 then
  180.     set the castNum of sprite 4 to 11
  181.     if the mouseDown then 
  182.       set the castNum of sprite 4 to 4
  183.     end if
  184.   else if the mouseH > 280 and the mouseH < 390 and the mouseV > 152 and the mouseV < 225 then
  185.     set the castNum of sprite 4 to 12
  186.     if the mouseDown then 
  187.       set the castNum of sprite 4 to 4
  188.     end if
  189.   else if the mouseH > 391 and the mouseH < 474 and the mouseV > 75 and the mouseV < 194 then
  190.     set the castNum of sprite 4 to 13
  191.     if the mouseDown then 
  192.       set the castNum of sprite 4 to 4
  193.     end if
  194.   else if the mouseH > 477 and the mouseH < 588 and the mouseV > 142 and the mouseV < 225 then
  195.     set the castNum of sprite 4 to 14
  196.     if the mouseDown then 
  197.       set the castNum of sprite 4 to 4
  198.     end if
  199.   else if the mouseH > 503 and the mouseH < 618 and the mouseV > 75 and the mouseV < 141 then
  200.     set the castNum of sprite 4 to 15
  201.     if the mouseDown then 
  202.       set the castNum of sprite 4 to 4
  203.     end if
  204.   else 
  205.     set the castNum of sprite 4 to 4
  206.   end if
  207.   updateStage
  208. end rollVLB21